<include file="Common:header"/>
</head>
<body class="single">
<div class="scanlines"></div>
<!-- Begin Header -->
<include file="Common:nav" />
<!-- End Header -->

<!-- Begin Wrapper -->
<div class="wrapper">
<!-- Begin Container -->
<div class="content">
		<div class="box" style="padding:4px">
			<if condition="__ACTION__ eq '/index.php/List/index'" >
				<a href="http://{$_SERVER['HTTP_HOST']}">首页 </a><if condition="$pare">&gt;<a href="{:U(GROUP_NAME.'/List/index',array('id'=>$pare['id']))}"> {$pare.name}</a></if> &gt;<a href="{:U(GROUP_NAME.'/List/index',array('id'=>$pos['id']))}"> {$pos.name}</a>
			<else/>搜索结果
			</if>
		</div>
	<if condition="$pos['name'] eq '关于我'">
	<div class="box"> 
		{$about.0.content}
	</div>
	<else/>
	<foreach name="blogs" item="v">
		<!-- Begin Post -->
		<div class="post format-image box"> 

			<div class="details">
				<span class="icon-image">{$v.time|Date='Y-m-d H:i',###}</span>
				<span class="likes"><a href="#" class="likeThis">{$v.click}</a></span>
				<span class="comments"><a href="#"><span class="ds-thread-count" data-thread-key="{$v.id}"></span></a></span>
			</div>
		
			<h1 class="title">{$v.title}</h1>
			<p>{$v.summary}</p>

			<div class="post-nav">
				<span class="nav-prev"><a href="#">{$v.cate.name}</a></span>
				<span class="nav-next"><a href="{:U(GROUP_NAME.'/Show/index',array('id'=>$v['id']))}" target="_blank">查看全文 &rarr;</a></span>
				<div class="clear"></div>
			</div>

		</div>
		<!-- End Post --> 	
	</foreach>

	<div class="page">
		{$page}
	</div>
	</if>
		

</div>
<!-- End Container -->

<!-- Begin Sidebar -->
<include file="Common:right" />
<!--End Sidebar -->
<div class="clear"></div>

</div>
<!-- End Wrapper -->

<!-- Begin Footer -->
<include file="Common:bottom" />
<!-- End Footer --> 
<script type="text/javascript" src="style/js/scripts.js"></script>
</body>
</html>